@blue:#0099FF;
.layout{
    width: 100%;
    min-width: 320px;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

header{
    width: 100%;
    min-width: 320px;
    max-width: 640px;
    height: 0.85rem;
    background-color: @blue;
    position: fixed;
    color: #fff;
    z-index: 999;
    a{
        position: absolute;
        top: 0;
        width: 1.2rem;
        height: 100%;
        padding-top: 0.1rem;
        text-align: center;
        color: #fff;
        font-size: 0.18rem;
        &:nth-of-type(1){
            left: 0;
        }
        &:nth-of-type(2){
            right: 0;
        }
        p.iconfont{
            font-size: 0.4rem;
        }
    }
    form{
        display: block;
        width: 100%;
        height: 100%;
        padding-left: 1.3rem;
        padding-right: 1.3rem;
        padding-top: 0.22rem;
        position: relative;
        input{
            width: 100%;
            height: 0.425rem;
            border: 1px solid #fff;
            background-color: @blue;
            padding-left: 0.5rem;
            line-height: 0.425rem;
        }
        &::before{
            position: absolute;
            top: 0.28rem;
            left: 1.4rem;
            font-size: 0.27rem;
        }
    }
}

nav{
    width: 100%;
    padding-top: 0.85rem;
    .nav_title{
        padding: 0.18rem 0;
        i{
            float: left;
            width: 0.35rem;
            height: 0.35rem;
            border-radius: 40%;
            background-color: @blue;
            // font-size: 0.35rem;
            color: #fff;
            text-align: center;
            line-height: 0.35rem;
            margin-left: 0.15rem;
            margin-right: 0.1rem;
            &::before{
                font-size: 0.25rem;
            }
        }
        span{
            font-size: 0.25rem;
        }
    }
    .nav_body{
        width: 100%;
        padding: 0 0.1rem;
        ul{
            li {
                float: left;
                a{
                    display: block;
                    width: 1.5rem;
                    height: 1rem;
                    text-align: center;
                    img{
                        width: 0.5rem;
                    }
                    p{
                        font-size: 0.16rem;
                        color: #333;
                    }
                }
            }
        }
    }
    .nav_point{
        padding: 0.18rem 0;
        ul{
            display: inline-block;
            position: relative;
            left: 50%;
            transform: translate(-50%);
            li{
                float: left;
                width: 0.15rem;
                height: 0.15rem;
                border-radius: 50%;
                margin: 0 0.15rem;
                background-color: #666;
            }
            li.active{
                background-color: @blue;
            }
        }
    }
}

main{
    width: 100%;
    padding-bottom: 1.1rem;
    .main_title{
        padding-top: 0.35rem;
        padding-bottom: 0.18rem;
        line-height: 0.35rem;
        border-bottom: 1px solid #ccc;
        >i{
            color: @blue;
            font-size: 0.35rem;
            margin-left: 0.15rem;
            margin-right: 0.1rem;
        }
        span{
            font-size: 0.25rem;
        }
        .main_check{
            color: #999;
            font-size: 0.2rem;
            float: right;
            padding-right: 0.1rem;
            i{
                font-size: 0.16rem;
            }
        }
    }
    .main_body{
        ul li{
            padding: 0.3rem 0.1rem;
            border-bottom: 1px solid #ccc;
            overflow: hidden;
            img{
                float: left;
                width:2rem;
                display: block;
                border: 1px solid #ccc;
            }
            .main_mid{
                float: left;
                padding: 0.1rem;
                h5{
                    font-size: 0.25rem;
                    font-weight: 400;
                }
                p{
                    padding-top: 0.1rem;
                    font-size: 0.23rem;
                    color: #999;
                }
            }
            .main_right{
                float: right;
                text-align: right;
                p:first-of-type{
                    padding: 0.1rem;
                    color: @blue;
                    font-size: 0.25rem;
                }
                p:last-of-type{
                    font-size: 0.2rem;
                    color: #999;
                    padding-top: 0.4rem;
                }
            }
        }
    }
}

footer{
    border-top: 1px solid #ccc;
    position: fixed;
    width: 100%;
    bottom: 0;
    min-width: 320px;
    max-width: 640px;
    background-color: #fff;
    ul{
        overflow: hidden;
        li{
            float: left;
            width: 33.33%;
            
            a{
                display: block;
                text-align: center;
                p{
                    font-size: 0.18rem;
                    padding-bottom: 0.15rem;
                }
                p.iconfont{
                    padding-top: 0.1rem;
                    font-size: 0.35rem;
                    padding-bottom: 0;
                }
            }
        }
        li.active a{
            color: @blue;
        }
    }
}